	<bean id="${ADSTableLoader.id}"
		  class="com.kingyea.camel.dataconverter.DataWriterComponent">
			<property name="id"				 value="${ADSTableLoader.id}"></property>
			<property name="x"				 value="219"></property>
			<property name="y"				 value="256"></property>			
			<property name="dataConverterWriter">			
				<bean class="com.kingyea.camel.component.bigdata.aliyun.ads.ADSTableLoader">				
					<property name="dataSource" ref="${ADSTableLoader.dataSource.id}"></property>
					<property name="tableName"		value="${ADSTableLoader.tableName}"></property>
					<property name="opFieldName"	value="${ADSTableLoader.opFieldName}"></property>					
					<#if ADSTableLoader.insertOnly??&&ADSTableLoader.insertOnly>
					<property name="insertOnly"	value="${ADSTableLoader.insertOnly?c}"></property>
					</#if>
					<#if ADSTableLoader.checkExist??&&ADSTableLoader.checkExist>
					<property name="checkExist"	value="${ADSTableLoader.checkExist?c}"></property>
					</#if>
					<#if ADSTableLoader.force??&&ADSTableLoader.force>
					<property name="force"			value="${ADSTableLoader.force?c}"></property>
					</#if>
					<#if ADSTableLoader.opIFlag??>
					<property name="opIFlag"		value="${ADSTableLoader.opIFlag}"></property>
					</#if>
					<#if ADSTableLoader.opUFlag??>
					<property name="opUFlag"		value="${ADSTableLoader.opUFlag}"></property>
					</#if>
					<#if ADSTableLoader.opDFlag??>
					<property name="opDFlag"		value="${ADSTableLoader.opDFlag}"></property>
					</#if>
					<#if ADSTableLoader.realDelete??&&!ADSTableLoader.realDelete>
					<property name="realDelete"		value="${ADSTableLoader.realDelete?c}"></property>
					<property name="deleteIdentityField"  value="${ADSTableLoader.deleteIdentityField}"></property>
					<property name="deleteIdentityValue"  value="${ADSTableLoader.deleteIdentityValue}"></property>
					</#if>					
					<#if ADSTableLoader.primaryKeys??>
					<property name="primaryKeys">  
						<list> 
							<#list ADSTableLoader.primaryKeys as primaryKey>
							<value>${primaryKey}</value>
							</#list>
						</list>  
					</property>
					</#if>
					<#if ADSTableLoader.fieldConvertMap??>
					<property name="fieldConvertMap">
						<map>
							<#list ADSTableLoader.fieldConvertMap?keys as key>
							<entry key="${key}" 	value="${ADSTableLoader.fieldConvertMap[key]}"/>
							</#list>
						</map>
					</property>
					</#if>					
					<#if ADSTableLoader.outOfOrderSupported?? && !ADSTableLoader.outOfOrderSupported>
						<property name="outOfOrderSupported" value="${ADSTableLoader.outOfOrderSupported?c}"/>
						<#if ADSTableLoader.tempDir??>
							<property name="tempDir" value="${ADSTableLoader.tempDir}"/>
						<#else>
							<property name="tempDir" value="/XCHGDATA/tmp/ADSTableLoader/${global.businessType}/"/>
						</#if>
					</#if>										
			</bean>
		</property>				
	</bean>
	<#assign DruidDataSource = ADSTableLoader.dataSource>
	<#include "/templates/datasources/DruidDataSource.ftl">
